<div class="layuimini-main" xmlns:th="http://www.w3.org/1999/xhtml">
<style>
    .layuimini-form .layui-form-item label{ line-height: 40px; text-align: right; padding-right: 10px;}
</style>
    <div class="layui-form layuimini-form">
        <input type="hidden" id="id" name="id" th:value="${id}">
        <div class="layui-form-item layui-row">
            <label class="layui-col-sm2">封面图</label>
            <div class="layui-col-sm10">
                <img src="" id="poster" style="max-width: 500px; max-height: 300px;">
            </div>
        </div>
        <div class="layui-form-item layui-row">
            <label class="layui-col-sm2 required">歌名</label>
            <div class="layui-col-sm10">
                <input type="text" name="title" id="title" lay-verify="required" lay-reqtext="歌名不能为空" placeholder="请输入歌名" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item layui-row">
            <label class="layui-col-sm2 required">歌手名</label>
            <div class="layui-col-sm10">
                <input type="text" name="artist" id="artist" lay-verify="required" lay-reqtext="歌手名不能为空" placeholder="请输入歌手名" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item layui-row">
            <label class="layui-col-sm2">是否显示</label>
            <div class="layui-col-sm10">
                <input type="checkbox" id="isShowSwitch" lay-filter="isShowSwitch" lay-skin="switch" lay-text="是|否" checked>
                <input type="hidden" name="isShow" id="isShow" value="0">
            </div>
        </div>
        <div class="layui-form-item layui-row">
            <label class="layui-col-sm2 required">排序</label>
            <div class="layui-col-sm10">
                <input type="number" name="sort" id="sort" lay-verify="required" lay-reqtext="排序号不能为空" placeholder="请输入排序号" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item" style="text-align: right;">
            <div>
                <button class="layui-btn layui-btn-normal" lay-submit lay-filter="saveBtn">保存</button>
                <button class="layui-btn layui-btn-primary" id="closeBtn">取消</button>
            </div>
        </div>
    </div>
</div>
<!-- 导入js -->
<script type="text/javascript" src="/web/boMusic/boMusic_edit.js"></script>